package com.wu.project.admin.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

/**
 * @author xuan
 */
public class WorkerDTO {

    private Long workerId;

    private String workerName;

    private String workerPicture;

    private String userPhone;

    private String workerHeadline;

    private String workerExplain;

    private String workerClass;

    private String workerYear;

    private String workerAddress;

    private String workerNumber;

    private String workerRating;

    private String workerPrice;

    private String workerIntegral;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp workerCretime;

    private String workerStatus;

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getWorkerPicture() {
        return workerPicture;
    }

    public void setWorkerPicture(String workerPicture) {
        this.workerPicture = workerPicture;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getWorkerHeadline() {
        return workerHeadline;
    }

    public void setWorkerHeadline(String workerHeadline) {
        this.workerHeadline = workerHeadline;
    }

    public String getWorkerExplain() {
        return workerExplain;
    }

    public void setWorkerExplain(String workerExplain) {
        this.workerExplain = workerExplain;
    }

    public String getWorkerClass() {
        return workerClass;
    }

    public void setWorkerClass(String workerClass) {
        this.workerClass = workerClass;
    }

    public String getWorkerYear() {
        return workerYear;
    }

    public void setWorkerYear(String workerYear) {
        this.workerYear = workerYear;
    }

    public String getWorkerAddress() {
        return workerAddress;
    }

    public void setWorkerAddress(String workerAddress) {
        this.workerAddress = workerAddress;
    }

    public String getWorkerNumber() {
        return workerNumber;
    }

    public void setWorkerNumber(String workerNumber) {
        this.workerNumber = workerNumber;
    }

    public String getWorkerRating() {
        return workerRating;
    }

    public void setWorkerRating(String workerRating) {
        this.workerRating = workerRating;
    }

    public String getWorkerPrice() {
        return workerPrice;
    }

    public void setWorkerPrice(String workerPrice) {
        this.workerPrice = workerPrice;
    }

    public String getWorkerIntegral() {
        return workerIntegral;
    }

    public void setWorkerIntegral(String workerIntegral) {
        this.workerIntegral = workerIntegral;
    }

    public Timestamp getWorkerCretime() {
        return workerCretime;
    }

    public void setWorkerCretime(Timestamp workerCretime) {
        this.workerCretime = workerCretime;
    }

    public String getWorkerStatus() {
        return workerStatus;
    }

    public void setWorkerStatus(String workerStatus) {
        this.workerStatus = workerStatus;
    }

    @Override
    public String toString() {
        return "WorkerDTO{" +
                "workerId=" + workerId +
                ", workerName='" + workerName + '\'' +
                ", workerPicture='" + workerPicture + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", workerHeadline='" + workerHeadline + '\'' +
                ", workerExplain='" + workerExplain + '\'' +
                ", workerClass='" + workerClass + '\'' +
                ", workerYear='" + workerYear + '\'' +
                ", workerAddress='" + workerAddress + '\'' +
                ", workerNumber='" + workerNumber + '\'' +
                ", workerRating='" + workerRating + '\'' +
                ", workerPrice='" + workerPrice + '\'' +
                ", workerIntegral='" + workerIntegral + '\'' +
                ", workerCretime='" + workerCretime + '\'' +
                ", workerStatus='" + workerStatus + '\'' +
                '}';
    }
}
